﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ModelDto.Request
{
    /// <summary>
    /// 录入供应商资质分数
    /// </summary>
    public class EnterSupplierQualificationsRequest
    {
        /// <summary>
        /// 供应商Id
        /// </summary>
        public string SupplierId { get; set; } = "";

        /// <summary>
        /// 每一项得分
        /// </summary>
        public List<EnterSupplierQualificationsRequestItem> ScoreData { get; set; } = new List<EnterSupplierQualificationsRequestItem>();

    }
    /// <summary>
    /// 录入供应商资质分数 每一项
    /// </summary>
    public class EnterSupplierQualificationsRequestItem
    {
        /// <summary>
        /// 供应商资质Id
        /// </summary>
        public string SupplierQualificationsId { get; set; } = "";


        /// <summary>
        /// 资质分值
        /// </summary>
        public int Score { get; set; } = 0;
    }
}
